package com.snack.shop.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 再来一单 - 复购商品项
 */
@Data
@Schema(description = "再来一单-复购商品项")
public class ReorderItemDTO {

    @Schema(description = "商品ID")
    private Long productId;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "商品图片")
    private String image;

    @Schema(description = "商品价格")
    private BigDecimal price;

    @Schema(description = "购买数量")
    private Integer quantity;
}
